30b937d2af93f5f943c1470a6cb8c7523a68acca,public/java/src/org/broadinstitute/sting/gatk/datasources/reads/BlockInputStream.java,BlockInputStream,read,#number[]#number#number#,404
Before Change
// }
// }
return eof() ? -1 : length-remaining;
}
public void close() {
After Change
return length - remaining;
// Otherwise, if at eof(), return -1.
else if(eof())
return -1;
// Otherwise, we must've hit a bug in the system.
throw new ReviewedStingException("BUG: read returned no data, but eof() reports false.");